<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>使用 ES 模块构建</title>
  </head>
  <body>
    <!-- anywhere on the page -->
    <div v-scope="{ count: 0 }">
      {{ count }}
      <button @click="count++">inc</button>
    </div>

    <script type="module">
      import { createApp } from "https://unpkg.com/petite-vue?module";
      createApp().mount();
    </script>
  </body>
</html>
